package com.ronri.ams.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/5/30.
 */

public class breedSampleListBean {

    /**
     * code : 0
     * data : {"page":1,"pageSize":10,"records":15,"rowBegin":1,"rowEnd":10,"rows":[{"breed_name":"牛肉","sample_area":"320412","section":"2","inspectd_unit":43734,"sample_area_name":"江苏省常州市武进区","section_name":"屠宰场","inspectd_unit_name":"常州市塘洋渔业专业合作社"},{"breed_name":"猪肉","sample_area":"320412","section":"2","inspectd_unit":43734,"sample_area_name":"江苏省常州市武进区","section_name":"屠宰场","inspectd_unit_name":"常州市塘洋渔业专业合作社"}],"total":2}
     * message : success
     * success : true
     */

    private int code;
    private DataBean data;
    private String message;
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * page : 1
         * pageSize : 10
         * records : 15
         * rowBegin : 1
         * rowEnd : 10
         * rows : [{"breed_name":"牛肉","sample_area":"320412","section":"2","inspectd_unit":43734,"sample_area_name":"江苏省常州市武进区","section_name":"屠宰场","inspectd_unit_name":"常州市塘洋渔业专业合作社"},{"breed_name":"猪肉","sample_area":"320412","section":"2","inspectd_unit":43734,"sample_area_name":"江苏省常州市武进区","section_name":"屠宰场","inspectd_unit_name":"常州市塘洋渔业专业合作社"}]
         * total : 2
         */

        private int page;
        private int pageSize;
        private int records;
        private int rowBegin;
        private int rowEnd;
        private int total;
        private List<RowsBean> rows;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getRecords() {
            return records;
        }

        public void setRecords(int records) {
            this.records = records;
        }

        public int getRowBegin() {
            return rowBegin;
        }

        public void setRowBegin(int rowBegin) {
            this.rowBegin = rowBegin;
        }

        public int getRowEnd() {
            return rowEnd;
        }

        public void setRowEnd(int rowEnd) {
            this.rowEnd = rowEnd;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<RowsBean> getRows() {
            return rows;
        }

        public void setRows(List<RowsBean> rows) {
            this.rows = rows;
        }

        public static class RowsBean {
            /**
             * breed_name : 牛肉
             * sample_area : 320412
             * section : 2
             * inspectd_unit : 43734
             * sample_area_name : 江苏省常州市武进区
             * section_name : 屠宰场
             * inspectd_unit_name : 常州市塘洋渔业专业合作社
             */

            private String breed_name;
            private String sample_area;
            private String section;
            private int inspectd_unit;
            private String sample_area_name;
            private String section_name;
            private String inspectd_unit_name;

            public String getBreed_name() {
                return breed_name;
            }

            public void setBreed_name(String breed_name) {
                this.breed_name = breed_name;
            }

            public String getSample_area() {
                return sample_area;
            }

            public void setSample_area(String sample_area) {
                this.sample_area = sample_area;
            }

            public String getSection() {
                return section;
            }

            public void setSection(String section) {
                this.section = section;
            }

            public int getInspectd_unit() {
                return inspectd_unit;
            }

            public void setInspectd_unit(int inspectd_unit) {
                this.inspectd_unit = inspectd_unit;
            }

            public String getSample_area_name() {
                return sample_area_name;
            }

            public void setSample_area_name(String sample_area_name) {
                this.sample_area_name = sample_area_name;
            }

            public String getSection_name() {
                return section_name;
            }

            public void setSection_name(String section_name) {
                this.section_name = section_name;
            }

            public String getInspectd_unit_name() {
                return inspectd_unit_name;
            }

            public void setInspectd_unit_name(String inspectd_unit_name) {
                this.inspectd_unit_name = inspectd_unit_name;
            }
        }
    }
}
